.class public Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;
.super Lcom/estrongs/android/pop/app/imageviewer/NoSearchActivity;
.source "ViewImage21.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;,
        Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;,
        Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$i0;
    }
.end annotation


# instance fields
.field private A:Lcom/estrongs/android/pop/app/imageviewer/a;

.field protected B:Lcom/estrongs/android/widget/RealViewSwitcher;

.field protected C:Landroid/view/LayoutInflater;

.field protected D:Landroid/util/DisplayMetrics;

.field private E:Lcom/estrongs/chromecast/ChromeCastManager;

.field private F:Landroid/view/View;

.field private G:Lcom/estrongs/chromecast/ChromeCastDialog;

.field private H:I

.field private I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

.field private J:Landroid/view/ScaleGestureDetector;

.field protected K:Ljava/lang/Runnable;

.field L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

.field M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

.field N:Landroid/view/animation/Animation;

.field O:Landroid/view/animation/Animation;

.field private final P:Ljava/lang/Runnable;

.field private final Q:Ljava/lang/Runnable;

.field private R:I

.field protected S:J

.field private T:Lcom/estrongs/android/pop/app/imageviewer/c;

.field private U:J

.field private d:Lcom/estrongs/android/pop/app/imageviewer/d;

.field private e:Landroid/net/Uri;

.field f:Z

.field private g:Z

.field final h:Lcom/estrongs/android/pop/app/imageviewer/b;

.field private i:I

.field private j:Z

.field private k:Landroid/content/SharedPreferences;

.field protected l:I

.field m:Les/dm;

.field private n:Lcom/estrongs/fs/b;

.field o:Landroid/view/GestureDetector;

.field protected p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

.field private q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

.field private r:Landroid/widget/TextView;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/view/View;

.field private u:Z

.field private v:Ljava/lang/String;

.field private w:Ljava/lang/String;

.field protected x:Landroid/view/View;

.field private y:Lcom/estrongs/android/statistics/b;

.field private final z:Ljava/lang/Runnable;


# direct methods
.method public constructor <init>()V
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/NoSearchActivity;-><init>()V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    .line 3
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g:Z

    .line 4
    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/b;

    invoke-direct {v1}, Lcom/estrongs/android/pop/app/imageviewer/b;-><init>()V

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    .line 5
    iput v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    const/4 v0, -0x1

    .line 6
    iput v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    .line 7
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ImageManager$a;

    invoke-direct {v0}, Lcom/estrongs/android/pop/app/imageviewer/ImageManager$a;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    const/4 v0, 0x0

    .line 8
    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->n:Lcom/estrongs/fs/b;

    const/4 v1, 0x0

    .line 9
    iput-boolean v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    .line 10
    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    .line 11
    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->y:Lcom/estrongs/android/statistics/b;

    .line 12
    new-instance v2, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$k;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$k;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    iput-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->z:Ljava/lang/Runnable;

    .line 13
    invoke-static {}, Lcom/estrongs/chromecast/ChromeCastManager;->getInstance()Lcom/estrongs/chromecast/ChromeCastManager;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    .line 14
    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->G:Lcom/estrongs/chromecast/ChromeCastDialog;

    .line 15
    iput v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->H:I

    .line 16
    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    .line 17
    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->J:Landroid/view/ScaleGestureDetector;

    .line 18
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$a0;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$a0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->K:Ljava/lang/Runnable;

    .line 19
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$x;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$x;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->P:Ljava/lang/Runnable;

    .line 20
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$y;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$y;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q:Ljava/lang/Runnable;

    const/16 v0, 0x320

    .line 21
    iput v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->R:I

    const-wide/16 v0, 0xbb8

    .line 22
    iput-wide v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J

    const-wide/16 v0, 0x0

    .line 23
    iput-wide v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->U:J

    return-void
.end method

.method private F()Les/cm;
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return-object v0

    .line 2
    :cond_0
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Landroid/net/Uri;)Les/dm;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Landroid/net/Uri;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v0}, Les/dm;->getCount()I

    move-result v0

    if-lez v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Les/dm;->b(I)Les/cm;

    move-result-object v0

    goto :goto_0

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-interface {v0, v1}, Les/dm;->a(Landroid/net/Uri;)Les/cm;

    move-result-object v0

    if-nez v0, :cond_2

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    if-eqz v1, :cond_2

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-interface {v0, v1}, Les/dm;->a(Landroid/net/Uri;)Les/cm;

    move-result-object v0

    .line 8
    :cond_2
    :goto_0
    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/a;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    const/16 v3, 0xa

    invoke-direct {v1, v2, v3}, Lcom/estrongs/android/pop/app/imageviewer/a;-><init>(Les/dm;I)V

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->A:Lcom/estrongs/android/pop/app/imageviewer/a;

    return-object v0
.end method

.method private G()V
    .locals 2

    const/4 v0, 0x1

    .line 1
    iput v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->H:I

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->F:Landroid/view/View;

    const v1, 0x7f09051a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f080986

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    return-void
.end method

.method private H()V
    .locals 2

    const/4 v0, 0x0

    .line 1
    iput v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->H:I

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->F:Landroid/view/View;

    const v1, 0x7f09051a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f080985

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    return-void
.end method

.method private I()V
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/chromecast/ChromeCastManager;->isSupport()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->F:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->F:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void
.end method

.method private J()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    const/4 v0, 0x0

    return v0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    if-nez v0, :cond_1

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->N()V

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->c(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    const/4 v0, 0x1

    return v0
.end method

.method private K()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    const/4 v0, 0x0

    return v0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    if-nez v0, :cond_1

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->O()V

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->c(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    const/4 v0, 0x1

    return v0
.end method

.method private L()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    :cond_1
    const/4 v0, 0x0

    .line 5
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g:Z

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/Gallery;->setVisibility(I)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->t:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method private M()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->G:Lcom/estrongs/chromecast/ChromeCastDialog;

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    new-instance v0, Lcom/estrongs/chromecast/ChromeCastDialog;

    invoke-direct {v0, p0}, Lcom/estrongs/chromecast/ChromeCastDialog;-><init>(Landroid/app/Activity;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->G:Lcom/estrongs/chromecast/ChromeCastDialog;

    .line 3
    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/chromecast/ChromeCastDialog;->setChromeCastModeListener(Lcom/estrongs/android/pop/app/a0;)V

    return-void
.end method

.method private N()V
    .locals 5

    const v0, 0x7f0901e3

    .line 1
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    const v1, 0x7f0901e2

    .line 2
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->setPanelViewId(I)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a()V

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->v()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    const v1, 0x7f0602dd

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v2, Les/v00;

    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0809bc

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-static {v3, v0}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    const v4, 0x7f11022f

    .line 6
    invoke-virtual {p0, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v2, v3, v4}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v3, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$p;

    invoke-direct {v3, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$p;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 7
    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v2, Les/v00;

    .line 9
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f080985

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    .line 10
    invoke-static {v3, v0}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    const v3, 0x7f11022c

    .line 11
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v0, v3}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$q;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$q;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 12
    invoke-virtual {v1, v2, v0}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    return-void
.end method

.method private O()V
    .locals 6

    const v0, 0x7f09040b

    .line 1
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    const/4 v1, 0x1

    .line 2
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->setShowIcon(Z)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a()V

    .line 4
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    iget v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    invoke-interface {v0, v1}, Les/dm;->b(I)Les/cm;

    move-result-object v0

    invoke-interface {v0}, Les/cm;->g()Landroid/net/Uri;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/f;->a(Landroid/net/Uri;)Z

    move-result v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    const/4 v0, 0x0

    .line 5
    :goto_0
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->v()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f0602dd

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    .line 6
    iget-boolean v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    if-nez v2, :cond_0

    if-eqz v0, :cond_0

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v3, Les/v00;

    .line 8
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f08098e

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 9
    invoke-static {v4, v1}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    const v5, 0x7f11003f

    .line 10
    invoke-virtual {p0, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v3, v4, v5}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v4, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h;

    invoke-direct {v4, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 11
    invoke-virtual {v2, v3, v4}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    .line 12
    :cond_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v3, Les/v00;

    .line 13
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0809ee

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 14
    invoke-static {v4, v1}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    const v5, 0x7f110af8

    .line 15
    invoke-virtual {p0, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v3, v4, v5}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v4, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$i;

    invoke-direct {v4, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$i;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 16
    invoke-virtual {v2, v3, v4}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    .line 17
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v3, Les/v00;

    .line 18
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0809d7

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 19
    invoke-static {v4, v1}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    const v5, 0x7f110655

    .line 20
    invoke-virtual {p0, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v3, v4, v5}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v4, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$j;

    invoke-direct {v4, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$j;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 21
    invoke-virtual {v2, v3, v4}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    .line 22
    iget-boolean v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    if-nez v2, :cond_1

    .line 23
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v3, Les/v00;

    .line 24
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0809de

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 25
    invoke-static {v4, v1}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    const v5, 0x7f1105e7

    .line 26
    invoke-virtual {p0, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v3, v4, v5}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v4, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$l;

    invoke-direct {v4, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$l;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 27
    invoke-virtual {v2, v3, v4}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    if-eqz v0, :cond_1

    .line 28
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v2, Les/v00;

    .line 29
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0809d9

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    .line 30
    invoke-static {v3, v1}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    const v4, 0x7f110071

    .line 31
    invoke-virtual {p0, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v2, v3, v4}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v3, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$m;

    invoke-direct {v3, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$m;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 32
    invoke-virtual {v0, v2, v3}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    .line 33
    :cond_1
    invoke-static {}, Lcom/estrongs/chromecast/ChromeCastManager;->isSupport()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 34
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v2, Les/v00;

    .line 35
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f080985

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    .line 36
    invoke-static {v3, v1}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    const v4, 0x7f110232

    .line 37
    invoke-virtual {p0, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v2, v3, v4}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v3, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$n;

    invoke-direct {v3, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$n;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 38
    invoke-virtual {v0, v2, v3}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    .line 39
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    new-instance v2, Les/v00;

    .line 40
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0809c4

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    .line 41
    invoke-static {v3, v1}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    const v3, 0x7f1102a7

    .line 42
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v1, v3}, Les/v00;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$o;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$o;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 43
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;->a(Les/v00;Landroid/view/MenuItem$OnMenuItemClickListener;)V

    return-void
.end method

.method private P()Z
    .locals 2

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->H:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    return v1
.end method

.method private Q()V
    .locals 3

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g:Z

    .line 3
    iget-boolean v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    const/4 v2, 0x0

    if-nez v1, :cond_1

    iget v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    if-ne v1, v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    invoke-virtual {v0, v2}, Landroid/widget/Gallery;->setVisibility(I)V

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->t:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method private R()V
    .locals 5

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f030005

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getTextArray(I)[Ljava/lang/CharSequence;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 2
    :goto_0
    array-length v3, v0

    if-ge v2, v3, :cond_1

    .line 3
    iget-wide v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J

    invoke-static {v3, v4}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v3

    aget-object v4, v0, v2

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    move v1, v2

    goto :goto_1

    :cond_0
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 4
    :cond_1
    :goto_1
    :try_start_0
    new-instance v2, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {v2, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v3, 0x7f1105e7

    .line 5
    invoke-virtual {v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v3, 0x7f030004

    new-instance v4, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;

    invoke-direct {v4, p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;[Ljava/lang/CharSequence;)V

    .line 6
    invoke-virtual {v2, v3, v1, v4}, Lcom/estrongs/android/ui/dialog/q$n;->a(IILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f110075

    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$t;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$t;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 7
    invoke-virtual {v2, v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f110299

    const/4 v1, 0x0

    .line 8
    invoke-virtual {v2, v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {v2}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    .line 9
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_2
    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Landroid/view/ScaleGestureDetector;)Landroid/view/ScaleGestureDetector;
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->J:Landroid/view/ScaleGestureDetector;

    return-object p1
.end method

.method private a(Landroid/view/ViewGroup;)Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;
    .locals 2

    .line 57
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v0

    if-lez v0, :cond_0

    const/4 v0, 0x0

    .line 58
    invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    instance-of v1, v1, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    if-eqz v1, :cond_0

    .line 59
    invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    return-object p1

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/app/imageviewer/c;)Lcom/estrongs/android/pop/app/imageviewer/c;
    .locals 0

    .line 5
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    return-object p1
.end method

.method private a(Landroid/net/Uri;)Les/dm;
    .locals 8

    .line 76
    invoke-virtual {p1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v0

    const-string v1, "content"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    .line 77
    invoke-virtual {p0}, Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0

    invoke-static {v0, p1, v1}, Lcom/estrongs/android/pop/app/imageviewer/ImageManager;->a(Landroid/content/ContentResolver;Landroid/net/Uri;I)Les/dm;

    move-result-object p1

    return-object p1

    .line 78
    :cond_0
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "view_from"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 79
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 80
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/estrongs/android/pop/l;->w(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 81
    invoke-static {v0, v2}, Lcom/estrongs/android/pop/view/utils/f;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;

    move-result-object v0

    .line 82
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/estrongs/android/pop/l;->a(Lcom/estrongs/android/pop/view/utils/f$a;)Les/q70;

    move-result-object v0

    goto :goto_0

    .line 83
    :cond_1
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/l;->i(Ljava/lang/String;)Les/q70;

    move-result-object v0

    :goto_0
    if-nez v0, :cond_2

    .line 84
    new-instance v0, Les/t70;

    invoke-direct {v0, v1}, Les/t70;-><init>(Z)V

    :cond_2
    move-object v6, v0

    .line 85
    invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v0

    .line 86
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-virtual {v1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 87
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    :cond_3
    move-object v4, v0

    const/4 v0, 0x0

    .line 88
    invoke-static {}, Lcom/estrongs/android/pop/k;->b()I

    move-result v1

    const/16 v2, 0x15

    if-lt v1, v2, :cond_4

    .line 89
    new-instance v0, Lcom/estrongs/android/pop/e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/e;-><init>(Landroid/content/Context;)V

    :cond_4
    move-object v7, v0

    .line 90
    invoke-virtual {p1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v0

    const-string v1, "file"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-virtual {p1}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object p1

    goto :goto_1

    :cond_5
    invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object p1

    :goto_1
    move-object v3, p1

    .line 91
    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v2

    iget-object v5, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->n:Lcom/estrongs/fs/b;

    invoke-static/range {v2 .. v7}, Lcom/estrongs/android/pop/app/imageviewer/ImageManager;->a(Lcom/estrongs/fs/f;Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/h;Les/q70;Lcom/estrongs/android/pop/e;)Les/dm;

    move-result-object p1

    return-object p1
.end method

.method private a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V
    .locals 3

    .line 67
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->N:Landroid/view/animation/Animation;

    if-nez v0, :cond_0

    .line 68
    new-instance v0, Landroid/view/animation/AlphaAnimation;

    const/high16 v1, 0x3f800000    # 1.0f

    const v2, 0x3dcccccd    # 0.1f

    invoke-direct {v0, v1, v2}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->N:Landroid/view/animation/Animation;

    const-wide/16 v1, 0x96

    .line 69
    invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 70
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->N:Landroid/view/animation/Animation;

    new-instance v1, Landroid/view/animation/AccelerateInterpolator;

    invoke-direct {v1}, Landroid/view/animation/AccelerateInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    .line 71
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->N:Landroid/view/animation/Animation;

    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$s;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$s;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 72
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->N:Landroid/view/animation/Animation;

    invoke-virtual {v0}, Landroid/view/animation/Animation;->start()V

    .line 73
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->N:Landroid/view/animation/Animation;

    invoke-virtual {p1, v0}, Landroid/widget/ScrollView;->setAnimation(Landroid/view/animation/Animation;)V

    const/4 v0, 0x4

    .line 74
    invoke-virtual {p1, v0}, Landroid/widget/ScrollView;->setVisibility(I)V

    .line 75
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->C()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Z
    .locals 0

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->P()Z

    move-result p0

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Landroid/net/Uri;)Z
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Landroid/net/Uri;)Z

    move-result p0

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result p0

    return p0
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Ljava/lang/Runnable;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->z:Ljava/lang/Runnable;

    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return-void
.end method

.method private b(Landroid/net/Uri;)Z
    .locals 1

    .line 4
    sget-object v0, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    invoke-virtual {p1, v0}, Landroid/net/Uri;->equals(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method private b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z
    .locals 0

    if-eqz p1, :cond_0

    .line 3
    invoke-virtual {p1}, Landroid/widget/ScrollView;->getVisibility()I

    move-result p1

    if-nez p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/pop/app/imageviewer/ESGallery;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    return-object p0
.end method

.method private c(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    if-eqz v0, :cond_2

    invoke-interface {v0}, Les/dm;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->O:Landroid/view/animation/Animation;

    if-nez v0, :cond_1

    .line 4
    new-instance v0, Landroid/view/animation/AlphaAnimation;

    const v1, 0x3dcccccd    # 0.1f

    const/high16 v2, 0x3f800000    # 1.0f

    invoke-direct {v0, v1, v2}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->O:Landroid/view/animation/Animation;

    const-wide/16 v1, 0x96

    .line 5
    invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->O:Landroid/view/animation/Animation;

    new-instance v1, Landroid/view/animation/DecelerateInterpolator;

    invoke-direct {v1}, Landroid/view/animation/DecelerateInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->O:Landroid/view/animation/Animation;

    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$r;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$r;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 8
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->O:Landroid/view/animation/Animation;

    invoke-virtual {v0}, Landroid/view/animation/Animation;->start()V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->O:Landroid/view/animation/Animation;

    invoke-virtual {p1, v0}, Landroid/widget/ScrollView;->setAnimation(Landroid/view/animation/Animation;)V

    const/4 v0, 0x0

    .line 10
    invoke-virtual {p1, v0}, Landroid/widget/ScrollView;->setVisibility(I)V

    .line 11
    invoke-virtual {p1, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->x:Landroid/view/View;

    const v0, 0x7f09051a

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    const v0, 0x7f0809ae

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    :cond_2
    :goto_0
    return-void
.end method

.method static synthetic d(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->K()Z

    move-result p0

    return p0
.end method

.method static synthetic e(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/statistics/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->y:Lcom/estrongs/android/statistics/b;

    return-object p0
.end method

.method static synthetic f(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/chromecast/ChromeCastManager;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    return-object p0
.end method

.method static synthetic g(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->J()Z

    move-result p0

    return p0
.end method

.method static synthetic h(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->G()V

    return-void
.end method

.method static synthetic i(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/chromecast/ChromeCastDialog;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->G:Lcom/estrongs/chromecast/ChromeCastDialog;

    return-object p0
.end method

.method private j(I)Lcom/estrongs/android/pop/app/imageviewer/h;
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v0, p1}, Les/dm;->b(I)Les/cm;

    move-result-object p1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->A:Lcom/estrongs/android/pop/app/imageviewer/a;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/imageviewer/a;->a(Les/cm;)Lcom/estrongs/android/pop/app/imageviewer/h;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 4
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/h;->g()Z

    move-result v1

    if-nez v1, :cond_0

    return-object v0

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->A:Lcom/estrongs/android/pop/app/imageviewer/a;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/imageviewer/a;->b(Les/cm;)V

    const/4 p1, 0x0

    return-object p1
.end method

.method static synthetic j(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M()V

    return-void
.end method

.method static synthetic k(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Les/cm;
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->F()Les/cm;

    move-result-object p0

    return-object p0
.end method

.method private k(I)V
    .locals 1

    .line 2
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    add-int/2addr v0, p1

    if-ltz v0, :cond_0

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {p1}, Les/dm;->getCount()I

    move-result p1

    if-ge v0, p1, :cond_0

    const/4 p1, 0x1

    .line 4
    invoke-virtual {p0, v0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(IZ)V

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q()V

    :cond_0
    return-void
.end method

.method private l(I)V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->r:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    if-eqz v0, :cond_0

    if-ltz p1, :cond_0

    invoke-interface {v0}, Les/dm;->getCount()I

    move-result v0

    if-ge p1, v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->r:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->v:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " ("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v2, p1, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v2}, Les/dm;->getCount()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->s:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v1, p1}, Les/dm;->b(I)Les/cm;

    move-result-object p1

    invoke-interface {p1}, Les/cm;->getTitle()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method static synthetic l(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L()V

    return-void
.end method

.method static synthetic m(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Landroid/net/Uri;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    return-object p0
.end method

.method static synthetic n(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->H()V

    return-void
.end method

.method static synthetic o(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->R()V

    return-void
.end method

.method static synthetic p(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Landroid/content/SharedPreferences;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->k:Landroid/content/SharedPreferences;

    return-object p0
.end method

.method static synthetic q(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Ljava/lang/Runnable;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->P:Ljava/lang/Runnable;

    return-object p0
.end method

.method static synthetic r(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->R:I

    return p0
.end method

.method static synthetic s(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Landroid/view/ScaleGestureDetector;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->J:Landroid/view/ScaleGestureDetector;

    return-object p0
.end method

.method static synthetic t(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g:Z

    return p0
.end method

.method static synthetic u(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    return p0
.end method

.method static synthetic v(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q()V

    return-void
.end method

.method static synthetic w(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/pop/app/imageviewer/a;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->A:Lcom/estrongs/android/pop/app/imageviewer/a;

    return-object p0
.end method

.method static synthetic x(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/pop/app/imageviewer/c;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    return-object p0
.end method


# virtual methods
.method A()Les/cm;
    .locals 2

    .line 1
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    iget v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    invoke-interface {v0, v1}, Les/dm;->b(I)Les/cm;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    const/4 v0, 0x0

    return-object v0
.end method

.method B()Z
    .locals 2

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "android.intent.action.PICK"

    .line 2
    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    const-string v1, "android.intent.action.GET_CONTENT"

    .line 3
    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0
.end method

.method protected C()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->z:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->z:Ljava/lang/Runnable;

    const-wide/16 v2, 0xbb8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    return-void
.end method

.method protected D()V
    .locals 5

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v1}, Les/dm;->getCount()I

    move-result v1

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    if-ne v0, v1, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q()V

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->C()V

    return-void

    .line 4
    :cond_0
    new-instance v0, Landroid/view/animation/AlphaAnimation;

    const v1, 0x3dcccccd    # 0.1f

    const/high16 v3, 0x3f800000    # 1.0f

    invoke-direct {v0, v1, v3}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    .line 5
    new-instance v1, Landroid/view/animation/AlphaAnimation;

    const/4 v4, 0x0

    invoke-direct {v1, v3, v4}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    .line 6
    iget v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->R:I

    int-to-long v3, v3

    invoke-virtual {v0, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 7
    iget v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->R:I

    int-to-long v3, v3

    invoke-virtual {v1, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 8
    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v3, v0}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v2}, Landroid/widget/ViewAnimator;->setAnimateFirstView(Z)V

    .line 11
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L()V

    const/4 v0, 0x2

    .line 12
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i(I)V

    .line 13
    invoke-virtual {p0, v2}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f(Z)V

    return-void
.end method

.method protected E()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setAnimateFirstView(Z)V

    const/4 v0, 0x1

    .line 4
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i(I)V

    .line 5
    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f(Z)V

    return-void
.end method

.method protected a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;)V
    .locals 1

    const/4 v0, 0x0

    .line 66
    invoke-virtual {p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;Ljava/lang/Runnable;)V

    return-void
.end method

.method protected a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;Ljava/lang/Runnable;)V
    .locals 3

    if-ltz p1, :cond_4

    .line 60
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v0}, Les/dm;->getCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-le p1, v0, :cond_0

    goto :goto_0

    .line 61
    :cond_0
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->j(I)Lcom/estrongs/android/pop/app/imageviewer/h;

    move-result-object v0

    if-eqz v0, :cond_2

    if-eqz p2, :cond_1

    .line 62
    iget-object p3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {p3, p1}, Les/dm;->b(I)Les/cm;

    move-result-object p1

    invoke-virtual {p2, p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->a(Les/cm;Lcom/estrongs/android/pop/app/imageviewer/h;)V

    :cond_1
    return-void

    :cond_2
    if-eqz p2, :cond_3

    .line 63
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v0, p1}, Les/dm;->b(I)Les/cm;

    move-result-object v0

    invoke-virtual {p2, v0}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->b(Les/cm;)V

    .line 64
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->d:Lcom/estrongs/android/pop/app/imageviewer/d;

    if-eqz v0, :cond_4

    .line 65
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v1, p1}, Les/dm;->b(I)Les/cm;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    invoke-direct {v2, p0, p1, p2, p3}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;Ljava/lang/Runnable;)V

    invoke-virtual {v0, v1, v2, p1}, Lcom/estrongs/android/pop/app/imageviewer/d;->a(Les/cm;Lcom/estrongs/android/pop/app/imageviewer/d$b;I)V

    :cond_4
    :goto_0
    return-void
.end method

.method a(IZ)V
    .locals 11

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v0}, Les/dm;->getCount()I

    move-result v0

    if-gtz v0, :cond_0

    return-void

    :cond_0
    add-int/lit8 v1, v0, -0x1

    if-le p1, v1, :cond_1

    add-int/lit8 p1, v0, -0x2

    :cond_1
    const/4 v2, 0x0

    if-gez p1, :cond_2

    const/4 p1, 0x0

    .line 11
    :cond_2
    iput p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    .line 12
    iget-boolean v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    if-nez v3, :cond_4

    .line 13
    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    invoke-virtual {v3, p1}, Lcom/estrongs/android/pop/app/imageviewer/c;->a(I)V

    .line 14
    iget v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    if-le p1, v3, :cond_3

    .line 15
    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    add-int/lit8 v4, p1, -0x6

    add-int/lit8 v5, p1, 0xa

    invoke-virtual {v3, v4, v5}, Lcom/estrongs/android/pop/app/imageviewer/c;->a(II)V

    goto :goto_0

    .line 16
    :cond_3
    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    add-int/lit8 v4, p1, -0xa

    add-int/lit8 v5, p1, 0x6

    invoke-virtual {v3, v4, v5}, Lcom/estrongs/android/pop/app/imageviewer/c;->a(II)V

    .line 17
    :cond_4
    :goto_0
    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    if-eqz v3, :cond_5

    invoke-virtual {v3}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->getDefaultScale()F

    move-result v3

    const/4 v4, 0x0

    cmpl-float v3, v3, v4

    if-lez v3, :cond_5

    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    invoke-virtual {v3}, Lcom/estrongs/android/pop/app/imageviewer/e;->getScale()F

    move-result v3

    iget-object v5, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    invoke-virtual {v5}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->getDefaultScale()F

    move-result v5

    sub-float/2addr v3, v5

    cmpl-float v3, v3, v4

    if-lez v3, :cond_5

    .line 18
    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    invoke-virtual {v3}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->getDefaultScale()F

    move-result v4

    invoke-virtual {v3, v4}, Lcom/estrongs/android/pop/app/imageviewer/e;->a(F)V

    .line 19
    :cond_5
    iget-object v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v4, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->z:Ljava/lang/Runnable;

    invoke-virtual {v3, v4}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 20
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l(I)V

    const/4 v3, 0x1

    if-ne v0, v3, :cond_6

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/widget/RealViewSwitcher;->a(Z)V

    .line 22
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/widget/RealViewSwitcher;->c(Z)V

    goto :goto_1

    :cond_6
    if-nez p1, :cond_7

    .line 23
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/widget/RealViewSwitcher;->a(Z)V

    .line 24
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v3}, Lcom/estrongs/android/widget/RealViewSwitcher;->c(Z)V

    goto :goto_1

    :cond_7
    if-ne p1, v1, :cond_8

    .line 25
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v3}, Lcom/estrongs/android/widget/RealViewSwitcher;->a(Z)V

    .line 26
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/widget/RealViewSwitcher;->c(Z)V

    goto :goto_1

    .line 27
    :cond_8
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v3}, Lcom/estrongs/android/widget/RealViewSwitcher;->a(Z)V

    .line 28
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v3}, Lcom/estrongs/android/widget/RealViewSwitcher;->c(Z)V

    .line 29
    :goto_1
    rem-int/lit8 v0, p1, 0x3

    .line 30
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v1, v0}, Landroid/widget/ViewAnimator;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    if-nez v1, :cond_9

    return-void

    .line 31
    :cond_9
    iget-object v4, v1, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->a:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    iput-object v4, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    .line 32
    iget-object v4, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v4, p1}, Les/dm;->b(I)Les/cm;

    move-result-object v4

    .line 33
    invoke-interface {v4}, Les/cm;->i()Ljava/lang/String;

    move-result-object v6

    .line 34
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, "load-sucess::"

    invoke-virtual {v5, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getTag()Ljava/lang/Object;

    move-result-object v7

    invoke-static {v5, v7}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_a

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, "load-error::"

    invoke-virtual {v5, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    .line 35
    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getTag()Ljava/lang/Object;

    move-result-object v7

    invoke-static {v5, v7}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_b

    :cond_a
    iget-object v5, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    .line 36
    invoke-virtual {v5}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->b()Z

    move-result v5

    if-nez v5, :cond_c

    :cond_b
    const/4 v5, 0x1

    goto :goto_2

    :cond_c
    const/4 v5, 0x0

    .line 37
    :goto_2
    invoke-interface {v4}, Les/cm;->f()Z

    move-result v7

    if-eqz v7, :cond_d

    .line 38
    iget-object v5, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    invoke-virtual {v5, v2}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->setBitmapRotation(I)V

    .line 39
    new-instance v2, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$b0;

    invoke-direct {v2, p0, v4, v1, v4}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$b0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Les/cm;Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;Les/cm;)V

    .line 40
    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->setGifPlayer(Les/hj;)V

    .line 41
    invoke-virtual {v2}, Les/hj;->start()V

    goto :goto_3

    :cond_d
    if-eqz v5, :cond_e

    .line 42
    invoke-virtual {p0, p1, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;)V

    goto :goto_3

    .line 43
    :cond_e
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    if-eqz v2, :cond_f

    invoke-virtual {v2}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;

    move-result-object v2

    if-nez v2, :cond_f

    .line 44
    invoke-virtual {p0, p1, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;)V

    .line 45
    :cond_f
    :goto_3
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->P()Z

    move-result v1

    if-eqz v1, :cond_10

    .line 46
    invoke-static {}, Lcom/estrongs/chromecast/ChromeCastManager;->getInstance()Lcom/estrongs/chromecast/ChromeCastManager;

    move-result-object v5

    .line 47
    invoke-static {v6, v3}, Lcom/estrongs/android/util/h0;->b(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v7

    .line 48
    invoke-static {v6}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    .line 49
    invoke-static {v6}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    const/4 v10, 0x0

    .line 50
    invoke-virtual/range {v5 .. v10}, Lcom/estrongs/chromecast/ChromeCastManager;->loadMedia(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Les/uo;)V

    :cond_10
    if-eqz p2, :cond_11

    .line 51
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q()V

    .line 52
    :cond_11
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->C()V

    .line 53
    iget-object p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {p2}, Lcom/estrongs/android/widget/RealViewSwitcher;->getCurrentScreen()I

    move-result p2

    if-eq p2, v0, :cond_12

    .line 54
    iget-object p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {p2, v0}, Lcom/estrongs/android/widget/RealViewSwitcher;->setCurrentScreen(I)V

    :cond_12
    add-int/lit8 p2, p1, -0x1

    .line 55
    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h(I)V

    add-int/2addr p1, v3

    .line 56
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h(I)V

    return-void
.end method

.method protected a(Landroid/view/View;)V
    .locals 2

    .line 6
    new-instance v0, Landroid/view/GestureDetector;

    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-direct {v0, p0, v1}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->o:Landroid/view/GestureDetector;

    .line 7
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$v;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$v;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 8
    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$w;

    invoke-direct {v1, p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$w;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Landroid/view/View$OnTouchListener;)V

    .line 9
    invoke-virtual {p1, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method c(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    const-string v0, "/"

    .line 13
    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    if-lez v1, :cond_0

    const/4 v2, 0x0

    .line 14
    invoke-virtual {p1, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    .line 15
    :cond_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    if-lez v0, :cond_1

    add-int/lit8 v0, v0, 0x1

    .line 16
    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    :cond_1
    return-object p1
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    return v1

    .line 2
    :cond_0
    :try_start_0
    invoke-super {p0, p1}, Landroid/app/Activity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    return v1
.end method

.method protected f(Z)V
    .locals 5

    if-eqz p1, :cond_0

    .line 2
    iget-boolean p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    if-nez p1, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->C()V

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q:Ljava/lang/Runnable;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q:Ljava/lang/Runnable;

    iget-wide v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J

    iget v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->R:I

    int-to-long v3, v3

    add-long/2addr v1, v3

    invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_0

    .line 6
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q()V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->z:Ljava/lang/Runnable;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->P:Ljava/lang/Runnable;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q:Ljava/lang/Runnable;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    :goto_0
    return-void
.end method

.method protected h(I)V
    .locals 5

    if-ltz p1, :cond_4

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v0}, Les/dm;->getCount()I

    move-result v0

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    if-le p1, v0, :cond_0

    goto :goto_1

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    rem-int/lit8 v2, p1, 0x3

    invoke-virtual {v0, v2}, Landroid/widget/ViewAnimator;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    if-nez v0, :cond_1

    return-void

    :cond_1
    const/4 v2, 0x0

    .line 4
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->setGifPlayer(Les/hj;)V

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v2, p1}, Les/dm;->b(I)Les/cm;

    move-result-object v2

    invoke-interface {v2}, Les/cm;->i()Ljava/lang/String;

    move-result-object v2

    .line 6
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "load-sucess::"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getTag()Ljava/lang/Object;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "load-error::"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 7
    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getTag()Ljava/lang/Object;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2

    goto :goto_0

    :cond_2
    const/4 v1, 0x0

    :goto_0
    if-eqz v1, :cond_3

    .line 8
    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;)V

    goto :goto_1

    .line 9
    :cond_3
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Landroid/view/ViewGroup;)Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    move-result-object v1

    if-eqz v1, :cond_4

    .line 10
    invoke-virtual {v1}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;

    move-result-object v1

    if-nez v1, :cond_4

    .line 11
    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;)V

    :cond_4
    :goto_1
    return-void
.end method

.method i(I)V
    .locals 3

    .line 2
    iput p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    .line 3
    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x80

    const/4 v2, 0x1

    if-ne p1, v2, :cond_1

    .line 4
    invoke-virtual {v0, v1}, Landroid/view/Window;->clearFlags(I)V

    .line 5
    iget-boolean p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->j:Z

    const/16 v1, 0x400

    if-eqz p1, :cond_0

    .line 6
    invoke-virtual {v0, v1}, Landroid/view/Window;->addFlags(I)V

    goto :goto_0

    .line 7
    :cond_0
    invoke-virtual {v0, v1}, Landroid/view/Window;->clearFlags(I)V

    goto :goto_0

    .line 8
    :cond_1
    invoke-virtual {v0, v1}, Landroid/view/Window;->addFlags(I)V

    :goto_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 1

    const/16 v0, 0x1ea

    if-eq p1, v0, :cond_0

    .line 1
    invoke-super {p0, p1, p2, p3}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onActivityResult(IILandroid/content/Intent;)V

    return-void

    :cond_0
    const/4 p1, -0x1

    if-ne p2, p1, :cond_2

    .line 2
    invoke-virtual {p3}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    .line 3
    iget-object p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    if-eqz p2, :cond_2

    .line 4
    invoke-interface {p2, p1}, Les/dm;->a(Landroid/net/Uri;)Les/cm;

    move-result-object p1

    if-nez p1, :cond_1

    .line 5
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    goto :goto_0

    .line 6
    :cond_1
    iget-object p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {p2, p1}, Les/dm;->a(Les/cm;)I

    move-result p1

    iput p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    const/4 p2, 0x0

    .line 7
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(IZ)V

    :cond_2
    :goto_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    .line 1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    const v0, 0x7f09084b

    if-eq p1, v0, :cond_1

    const v0, 0x7f09091f

    if-eq p1, v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 p1, -0x1

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->k(I)V

    goto :goto_0

    :cond_1
    const/4 p1, 0x1

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->k(I)V

    :goto_0
    return-void
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->D:Landroid/util/DisplayMetrics;

    if-nez p1, :cond_0

    .line 3
    new-instance p1, Landroid/util/DisplayMetrics;

    invoke-direct {p1}, Landroid/util/DisplayMetrics;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->D:Landroid/util/DisplayMetrics;

    .line 4
    :cond_0
    invoke-virtual {p0}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object p1

    invoke-interface {p1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->D:Landroid/util/DisplayMetrics;

    invoke-virtual {p1, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 6

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    :cond_0
    const/4 p1, 0x1

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->j:Z

    .line 4
    invoke-static {p0}, Landroidx/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->k:Landroid/content/SharedPreferences;

    const-wide/16 v1, 0xbb8

    :try_start_0
    const-string v3, "slide_setting_interval"

    .line 5
    invoke-interface {v0, v3, v1, v2}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J

    move-result-wide v3

    iput-wide v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 6
    iput-wide v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J

    .line 7
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    .line 8
    :goto_0
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->y:Lcom/estrongs/android/statistics/b;

    .line 9
    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x400

    invoke-virtual {v0, v1}, Landroid/view/Window;->addFlags(I)V

    const v0, 0x7f0c01bb

    .line 10
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->setContentView(I)V

    .line 11
    new-instance v0, Landroid/graphics/drawable/ColorDrawable;

    const/high16 v1, -0x1000000

    invoke-direct {v0, v1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    const/16 v1, 0x96

    .line 12
    invoke-virtual {v0, v1}, Landroid/graphics/drawable/ColorDrawable;->setAlpha(I)V

    .line 13
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v1

    if-nez v1, :cond_1

    .line 14
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void

    .line 15
    :cond_1
    invoke-static {v1}, Lcom/estrongs/android/util/h0;->c(Landroid/net/Uri;)Landroid/net/Uri;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    .line 16
    invoke-virtual {v1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_3

    invoke-virtual {v1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v2

    const-string v3, "file"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    goto :goto_1

    .line 17
    :cond_2
    invoke-virtual {v1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    goto :goto_2

    .line 18
    :cond_3
    :goto_1
    invoke-virtual {v1}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    .line 19
    :goto_2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-virtual {v1}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v1

    .line 20
    invoke-static {v1}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result v2

    const/4 v3, 0x0

    if-nez v2, :cond_4

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 21
    :cond_4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->A(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "/"

    .line 22
    invoke-virtual {v1, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_5

    .line 23
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 24
    :cond_5
    new-instance v2, Lcom/estrongs/fs/b;

    const/4 v4, 0x0

    invoke-direct {v2, v4}, Lcom/estrongs/fs/b;-><init>(Lcom/estrongs/fs/h;)V

    iput-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->n:Lcom/estrongs/fs/b;

    const v2, 0x7fffffff

    .line 25
    :try_start_1
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->hashCode()I

    move-result v2
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_3

    :catch_1
    nop

    .line 26
    :goto_3
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v4

    const-string v5, "show_hidelist_file"

    invoke-virtual {v4, v5, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v4

    if-nez v4, :cond_6

    .line 27
    new-instance v4, Lcom/estrongs/android/view/v;

    invoke-direct {v4, v1, v2}, Lcom/estrongs/android/view/v;-><init>(Ljava/lang/String;I)V

    .line 28
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->n:Lcom/estrongs/fs/b;

    invoke-virtual {v1, v4}, Lcom/estrongs/fs/b;->a(Lcom/estrongs/fs/h;)V

    .line 29
    :cond_6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/n0;->z(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_a

    .line 30
    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v1

    .line 31
    :try_start_2
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->Q1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_7

    .line 32
    sget-object v1, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    goto :goto_5

    .line 33
    :cond_7
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/estrongs/fs/f;->l(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_a

    .line 34
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/estrongs/fs/f;->n(Ljava/lang/String;)Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_9

    .line 35
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_8
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_9

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 36
    invoke-interface {v2}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/fs/l;->b()Z

    move-result v4

    if-nez v4, :cond_8

    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/estrongs/android/util/n0;->z(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_8

    .line 37
    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    const/4 v1, 0x1

    goto :goto_4

    :cond_9
    const/4 v1, 0x0

    :goto_4
    if-nez v1, :cond_a

    .line 38
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f1106c0

    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ": "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-virtual {v2}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p0, v1, p1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    .line 39
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V
    :try_end_2
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_2 .. :try_end_2} :catch_2

    return-void

    :catch_2
    move-exception v1

    .line 40
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_a
    :goto_5
    const v1, 0x7f09049b

    .line 41
    invoke-virtual {p0, v1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    .line 42
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->a(Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_b

    .line 43
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->a(Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->v:Ljava/lang/String;

    .line 44
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    goto :goto_6

    .line 45
    :cond_b
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->a(Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->k2(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_c

    const v1, 0x7f110069

    .line 46
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->v:Ljava/lang/String;

    .line 47
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v1

    iput-boolean v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    goto :goto_6

    .line 48
    :cond_c
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->a(Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_d

    .line 49
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w:Ljava/lang/String;

    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->v:Ljava/lang/String;

    .line 50
    iput-boolean v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    goto :goto_6

    .line 51
    :cond_d
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e:Landroid/net/Uri;

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->a(Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->v:Ljava/lang/String;

    .line 52
    iput-boolean v3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    .line 53
    :goto_6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    new-instance v2, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$d0;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$d0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/app/imageviewer/ESGallery;->setOnScrollListener(Lcom/estrongs/android/pop/app/imageviewer/ESGallery$a;)V

    .line 54
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    invoke-virtual {v1, v0}, Landroid/widget/Gallery;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 55
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    invoke-virtual {v0, v3}, Landroid/widget/Gallery;->setCallbackDuringFling(Z)V

    .line 56
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    const/high16 v1, 0x3f000000    # 0.5f

    invoke-virtual {v0, v1}, Landroid/widget/Gallery;->setUnselectedAlpha(F)V

    .line 57
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e0;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {v0, v1}, Landroid/widget/Gallery;->setOnItemSelectedListener(Landroid/widget/AdapterView$OnItemSelectedListener;)V

    .line 58
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    new-instance v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$f0;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$f0;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {v0, v1}, Landroid/widget/Gallery;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const v0, 0x7f090d81

    .line 59
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/widget/RealViewSwitcher;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    .line 60
    invoke-virtual {v0, p1}, Lcom/estrongs/android/widget/RealViewSwitcher;->b(Z)V

    .line 61
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0, v3}, Lcom/estrongs/android/widget/RealViewSwitcher;->setSwitchControlable(Z)V

    .line 62
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$a;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 63
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/widget/RealViewSwitcher;->setOnScreenSwitchListener(Lcom/estrongs/android/widget/RealViewSwitcher$b;)V

    .line 64
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Landroid/view/View;)V

    const v0, 0x7f09052f

    .line 65
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->r:Landroid/widget/TextView;

    const v0, 0x7f090539

    .line 66
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->t:Landroid/view/View;

    const v0, 0x7f090537

    .line 67
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->s:Landroid/widget/TextView;

    const v0, 0x7f09077b

    .line 68
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->x:Landroid/view/View;

    .line 69
    invoke-virtual {v0, p1}, Landroid/view/View;->setFocusable(Z)V

    .line 70
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->x:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$b;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const p1, 0x7f090bd8

    .line 71
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .line 72
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 73
    invoke-static {p0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->C:Landroid/view/LayoutInflater;

    .line 74
    iget-boolean p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u:Z

    if-eqz p1, :cond_e

    .line 75
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->q:Lcom/estrongs/android/pop/app/imageviewer/ESGallery;

    const/4 v0, 0x4

    invoke-virtual {p1, v0}, Landroid/widget/Gallery;->setVisibility(I)V

    :cond_e
    :goto_7
    const/4 p1, 0x3

    if-ge v3, p1, :cond_f

    .line 76
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->C:Landroid/view/LayoutInflater;

    const v0, 0x7f0c01bc

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    add-int/lit8 v3, v3, 0x1

    goto :goto_7

    .line 77
    :cond_f
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->d:Lcom/estrongs/android/pop/app/imageviewer/d;

    if-nez p1, :cond_10

    .line 78
    new-instance p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$d;

    const-string v0, "Image Loader - Full Size "

    invoke-direct {p1, p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$d;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Ljava/lang/String;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->d:Lcom/estrongs/android/pop/app/imageviewer/d;

    :cond_10
    const p1, 0x7f09021a

    .line 79
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->F:Landroid/view/View;

    .line 80
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 81
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    invoke-virtual {p1, v0}, Lcom/estrongs/chromecast/ChromeCastManager;->addConnectionListener(Lcom/estrongs/chromecast/ChromeCastConnectionListener;)V

    .line 82
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    invoke-virtual {p1, v0}, Lcom/estrongs/chromecast/ChromeCastManager;->addDeviceListener(Lcom/estrongs/chromecast/CastDeviceListener;)V

    .line 83
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    invoke-virtual {p1, v0}, Lcom/estrongs/chromecast/ChromeCastManager;->addMediaPlayerListener(Lcom/estrongs/chromecast/RemoteMediaPlayerListener;)V

    .line 84
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L()V

    .line 85
    new-instance p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$f;

    const-string v0, "ImageListBuilder"

    invoke-direct {p1, p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$f;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Ljava/lang/String;)V

    .line 86
    invoke-virtual {p1}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method protected onDestroy()V
    .locals 3

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result v0

    if-nez v0, :cond_0

    .line 2
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    return-void

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/b;->a()V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    const/4 v1, 0x0

    if-eqz v0, :cond_2

    const/4 v0, 0x0

    .line 5
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v2}, Landroid/widget/ViewAnimator;->getChildCount()I

    move-result v2

    if-ge v0, v2, :cond_2

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v2, v0}, Landroid/widget/ViewAnimator;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    if-eqz v2, :cond_1

    .line 7
    invoke-virtual {v2, v1}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->setGifPlayer(Les/hj;)V

    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 8
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    if-eqz v0, :cond_3

    .line 9
    invoke-interface {v0}, Les/dm;->close()V

    .line 10
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    if-eqz v0, :cond_4

    .line 11
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/c;->a()V

    .line 12
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->d:Lcom/estrongs/android/pop/app/imageviewer/d;

    if-eqz v0, :cond_5

    .line 13
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/d;->a()[I

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->d:Lcom/estrongs/android/pop/app/imageviewer/d;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/d;->b()V

    .line 15
    iput-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->d:Lcom/estrongs/android/pop/app/imageviewer/d;

    .line 16
    :cond_5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    if-eqz v0, :cond_6

    .line 17
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->a()V

    .line 18
    :cond_6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->A:Lcom/estrongs/android/pop/app/imageviewer/a;

    if-eqz v0, :cond_7

    .line 19
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/a;->a()V

    .line 20
    :cond_7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    invoke-virtual {v0, v1}, Lcom/estrongs/chromecast/ChromeCastManager;->removeConnectionListener(Lcom/estrongs/chromecast/ChromeCastConnectionListener;)V

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    invoke-virtual {v0, v1}, Lcom/estrongs/chromecast/ChromeCastManager;->removeDeviceListener(Lcom/estrongs/chromecast/CastDeviceListener;)V

    .line 22
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E:Lcom/estrongs/chromecast/ChromeCastManager;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$g0;

    invoke-virtual {v0, v1}, Lcom/estrongs/chromecast/ChromeCastManager;->removeMediaPlayerListener(Lcom/estrongs/chromecast/RemoteMediaPlayerListener;)V

    .line 23
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->G:Lcom/estrongs/chromecast/ChromeCastDialog;

    if-eqz v0, :cond_8

    .line 24
    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastDialog;->destory()V

    .line 25
    :cond_8
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 8

    const/4 v0, 0x4

    const/4 v1, 0x1

    if-eq p1, v0, :cond_6

    const/16 v0, 0x52

    if-eq p1, v0, :cond_2

    const/16 v0, 0x15

    const/4 v2, 0x0

    if-eq p1, v0, :cond_1

    const/16 v0, 0x16

    if-eq p1, v0, :cond_0

    goto/16 :goto_0

    .line 1
    :cond_0
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g:Z

    if-nez v0, :cond_8

    .line 2
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    add-int/2addr v0, v1

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v1}, Les/dm;->getCount()I

    move-result v1

    if-ltz v0, :cond_8

    if-ge v0, v1, :cond_8

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    if-eqz v1, :cond_8

    .line 5
    invoke-virtual {p0, v0, v2}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(IZ)V

    goto :goto_0

    .line 6
    :cond_1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g:Z

    if-nez v0, :cond_8

    .line 7
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    sub-int/2addr v0, v1

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    invoke-interface {v1}, Les/dm;->getCount()I

    move-result v1

    if-ltz v0, :cond_8

    if-ge v0, v1, :cond_8

    .line 9
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->T:Lcom/estrongs/android/pop/app/imageviewer/c;

    if-eqz v1, :cond_8

    .line 10
    invoke-virtual {p0, v0, v2}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(IZ)V

    goto :goto_0

    .line 11
    :cond_2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    .line 12
    iget-wide v4, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->U:J

    sub-long v4, v2, v4

    const-wide/16 v6, 0x1f4

    cmp-long v0, v4, v6

    if-gez v0, :cond_3

    return v1

    .line 13
    :cond_3
    iput-wide v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->U:J

    .line 14
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    const/4 v2, 0x2

    if-ne v0, v2, :cond_4

    return v1

    .line 15
    :cond_4
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g:Z

    if-nez v0, :cond_5

    .line 16
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->Q()V

    .line 17
    :cond_5
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->K()Z

    goto :goto_0

    .line 18
    :cond_6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return v1

    .line 20
    :cond_7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 21
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return v1

    .line 22
    :cond_8
    :goto_0
    invoke-super {p0, p1, p2}, Landroidx/appcompat/app/AppCompatActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method public onPause()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onPause()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    .line 4
    rem-int/lit8 v0, v0, 0x3

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v1, v0}, Landroid/widget/ViewAnimator;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    if-eqz v0, :cond_1

    .line 6
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->b()V

    :cond_1
    const/4 v0, 0x1

    .line 7
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    .line 8
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_2

    const/4 v0, 0x0

    .line 9
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f(Z)V

    :cond_2
    return-void
.end method

.method public onResume()V
    .locals 5

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onResume()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const/4 v1, 0x0

    const-string v2, "slide_mode"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v2, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$z;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$z;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    const-wide/16 v3, 0x1f4

    invoke-virtual {v0, v2, v3, v4}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 5
    :cond_1
    iput-boolean v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    .line 6
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_2

    const/4 v0, 0x1

    .line 7
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f(Z)V

    .line 8
    :cond_2
    iget v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    .line 9
    rem-int/lit8 v0, v0, 0x3

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->B:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v1, v0}, Landroid/widget/ViewAnimator;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    if-eqz v0, :cond_3

    .line 11
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->a()V

    .line 12
    :cond_3
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->I()V

    return-void
.end method

.method public onSaveInstanceState(Landroid/os/Bundle;)V
    .locals 3

    .line 1
    invoke-super {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->onSaveInstanceState(Landroid/os/Bundle;)V

    :try_start_0
    const-string v0, "uri"

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    iget v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    .line 3
    invoke-interface {v1, v2}, Les/dm;->b(I)Les/cm;

    move-result-object v1

    invoke-interface {v1}, Les/cm;->g()Landroid/net/Uri;

    move-result-object v1

    .line 4
    invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V

    const-string v0, "slideshow"

    .line 5
    iget v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i:I

    const/4 v2, 0x2

    if-ne v1, v2, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method
